package day5;

import day4ClassAndArrayList.Students;

import java.util.ArrayList;

public class Info {


    public String name;
    public String  number;

    public Year birthday;
    public String toString() {

        return "姓名:" + name + "身份证号:" + number+"生日"+birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassId() {
        return number;
    }

    public void setPassId(String number) {
        this.number = number;
    }

    public Year getBirthday() {
        return birthday;
    }

    public void setBirthday(Year birthday) {
        this.birthday = birthday;
    }
}




